﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterFooter.master" AutoEventWireup="true" CodeFile="contactus.aspx.cs" Inherits="contactus" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head2" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
<div id="inadv07">
  <div id="black"></div>

    <table border="0" cellpadding="0" cellspacing="0" class="intable"><tr>
    <td valign="top"><div id="In-slogn"></div>
      <div id="Inshow">
      <div id="tt07"><span class="Pon-txt">首頁&gt;連絡我們</span></div>
        <div id="All-INShow">
          <div id="Contactus-table">
            <div id="Contactus-INtable">
              <p>Line ID：</p>
              <p>
                  <asp:TextBox ID="txtLineID" runat="server" CssClass="Contact-order"></asp:TextBox>
              </p>
<p>問題類別：</p>
              <p class="Contactus-txt01">
                  <asp:RadioButtonList ID="rdoQType" runat="server" RepeatDirection="Horizontal">
                  <asp:ListItem Text="問題諮詢" Value="1"></asp:ListItem>
                  <asp:ListItem Text="商品詢價" Value="2"></asp:ListItem>
                  <asp:ListItem Text="預約丈量" Value="3"></asp:ListItem>
                  <asp:ListItem Text="其他問題" Value="4"></asp:ListItem>
                  </asp:RadioButtonList>
                  <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="請選擇問題類別"
                  ControlToValidate="rdoQType" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
              </p>
                <p>&nbsp;</p>
                <p>&nbsp;</p>
                <p>問題內容： </p>
                <p>
                    <asp:TextBox ID="txtContent" runat="server" cols="45" rows="10" CssClass="Contact-order2" TextMode="MultiLine"></asp:TextBox>
                  <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="請輸入您的問題內容"
                  ControlToValidate="txtContent" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
                </p>                
                <div id="divBtn">
                <asp:LinkButton ID="btnSend" runat="server" onclick="btnSend_Click" ValidationGroup="Save" ><div id="swbtn02"></div></asp:LinkButton>                
                <asp:LinkButton ID="btnClear" runat="server" onclick="btnClear_Click"><div id="swbtn02"></div></asp:LinkButton>
                                </div>
                </div>
            <p>姓名：</p>
            <p>
            <asp:TextBox ID="txtCreateName" runat="server" CssClass="Contact-order"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="請輸入姓名"
                  ControlToValidate="txtCreateName" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
            </p>
            <p>信箱：</p>
            <p>
              <asp:TextBox ID="txtEMail" runat="server" CssClass="Contact-order"></asp:TextBox>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="請輸入電子信箱"
                  ControlToValidate="txtEmail" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
              <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ValidationGroup="Save" ErrorMessage="電子信箱格式不正確"
                  Display="None" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="txtEmail"></asp:RegularExpressionValidator>
            </p>
            <p>電話：</p>
            <p>
              <asp:TextBox ID="txtPhone" runat="server" CssClass="Contact-order"></asp:TextBox>
            </p>
            <p>行動電話：</p>
            <p>
            <asp:TextBox ID="txtMobile" runat="server" CssClass="Contact-order"></asp:TextBox>
            </p>
            <p>傳真：</p>
            <p>
              <asp:TextBox ID="txtFax" runat="server" CssClass="Contact-order"></asp:TextBox>
            </p>
          </div>
        </div>
    </div>
      </td>
  </tr></table>


</div>
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="Save" 
        ShowMessageBox="True" ShowSummary="False"/>
</ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

